def total(a=5, *number, **phonebook):
    print('a', a)
    for single_item in number:
        print('single_item', single_item)

    for first_part, second_part in phonebook.items():
        print(first_part, second_part)


print(total(10, 1, 2, 3, 4, Jack=123, John=234, Inge=345))
# 以上程序应输出
# a 10
# single_item 1
# single_item 2
# single_item 3
# single_item 4
# Jack 123
# John 234
# Inge 345
# None
